ul, li {
    padding: 0;
    margin: 0;
    list-style: none;
    font-size: 18px;
    letter-spacing: 2px;
}

.nav li ul {
    margin: 20px 0 0;
    position: absolute;
}

.nav li ul li {
    padding: 10px 3px;
    letter-spacing: 2px;
}

.nav li ul li:hover {
    padding: 10px 3px;
    letter-spacing: 2px;
    background-color: #0a53be;
    color: beige;
}

.box {
    overflow: hidden;

}

.x-g {
    height: 200px;
}

.zfx {
    width: 200px;
    height: 200px;
    background-color: #F40;
    margin: 0 auto;
    overflow: hidden;
}

[class^="item"]:hover {
    background-color: #0a53be !important;

}

[class^="item"]:hover a {
    color: aliceblue !important;
}

.sub-items {
    background-color: #0a53be;
    color: aliceblue;
}

.animate-box {
    width: 200px;
    height: 200px;
    background-color: #0a58ca;
    position: absolute;
}

/*购物车样式*/
.buy-car {
    overflow: hidden;
}

.goods-title {
    margin: 20px auto;
    font-size: 25px;
    font-weight: 800;
    width: 150px;
    text-decoration: underline;
    color: #f40;
}

.table {
    width: 100%;
    max-width: 800px;
    margin: 20px auto;
    border-spacing: 0;
}

td {
    text-align: center;
    margin: 10px 0;
    padding: 10px 0;
}

.table .header {
    background-color: palegoldenrod !important
}

.table tr:nth-of-type(2n-1) {
    background-color: #f7f7f7;
}

.table tr:hover {
    background-color: #aaaaaa;
}

.table tr:nth-last-child(1):hover {
    background-color: #ffffff;
}

.table img {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    text-align: center;
    display: inherit;
    border-radius: 20px;
    border: 1px solid #aaaaaa;
}

.table .name {
    max-width: 150px;
    font-size: 10px;
    overflow: hidden;
    white-space: pre-wrap;
    text-overflow: ellipsis;
}

.table .unit_price {
    color: #f40;
}

.table .unit_price:before {
    content: '$';
    width: 20px;
    height: 20px;
}

.table .pcs:after {
    content: '个';
    width: 20px;
    height: 20px;
}

.table .count {
    color: #f40;

}

.table .count:before {
    content: '$';
    width: 20px;
    height: 20px;
}

.table .total-price span {
    float: right;
    margin-right: 30px;
    color: #ff4400;
}

.table .total-price span:before {
    content: '合计：$';
    padding-right: 5px;
}


.table .decrement, .table .increment {
    display: inline-block;
    width: 20px;
    height: 20px;
    background-color: #efefef;
    cursor: pointer;
}

span {
    user-select: none;
}